package jp.eisbahn.mgapi.api.photo;

import org.json.simple.JSONObject;

import jp.eisbahn.mgapi.api.Model;

/**
 * This model class has ID.
 * @author Yoichiro Tanaka
 */
public class ID extends Model {

    /**
     * Initialize this instance.
     * @param newOriginal The JSON object.
     */
    protected ID(final JSONObject newOriginal) {
        super(newOriginal);
    }

    /**
     * Retrieve the ID.
     * @return The ID string.
     */
    public final String getId() {
        return getPropertyString("id");
    }

}
